<%@ tag language="java" pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%@ attribute name="content" type="java.lang.String" required="false" description="需要替换的内容"%>
<%@ attribute name="width" type="java.lang.String" required="false" description="编辑器宽度"%>
<%@ attribute name="height" type="java.lang.String" required="false" description="编辑器高度"%>
<%@ attribute name="id" type="java.lang.String" required="true" description="id"%>
<%@ attribute name="name" type="java.lang.String" required="true" description="name"%>
<%
 String path = request.getContextPath();
%>
<link rel="stylesheet" href="<%=path %>/html/js/js-resource/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="<%=path %>/html/js/js-resource/kindeditor/kindeditor-all-min.js"></script>
<script charset="utf-8" src="<%=path %>/html/js/js-resource/kindeditor/lang/zh-CN.js"></script>
<textarea id="${id}" name="${name}" cols="100" rows="8" style="width:${width};height:${height};visibility:hidden;">${content}</textarea>